package com.yan.furns.entity;

import java.util.List;

/**
 * @author Yzb
 * @version 1.0
 */
public class Page<T> {
	public static final Integer PAGE_SIZE = 3;
	private Integer pageNo;
	private Integer pageSize = PAGE_SIZE;
	// 表示共有多少条数据
	private Integer totalRow;
	// 表示共有多少页数据
	private Integer pageTotalCount;
	private List<T> elems;
	// 分页导航的字符串
	private String url;

	public Integer getPageNo() {
		return pageNo;
	}

	public void setPageNo(Integer pageNo) {
		this.pageNo = pageNo;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getTotalRow() {
		return totalRow;
	}

	public void setTotalRow(Integer totalRow) {
		this.totalRow = totalRow;
	}

	public Integer getPageTotalCount() {
		return pageTotalCount;
	}

	public void setPageTotalCount(Integer pageTotalCount) {
		this.pageTotalCount = pageTotalCount;
	}

	public List<T> getElems() {
		return elems;
	}

	public void setElems(List<T> elems) {
		this.elems = elems;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
}
